package com.jimmy.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @version 1.0
 * @ ClassName DeptProvider8001_App
 * <p> TODO
 * @ author JIMMY
 * @ Date 2020/11/15 0015 下午 7:47
 */

@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker//对hystrixR熔断机制的支持
public class DeptProviderHystrix8001_App {
    public static void main(String[] args)
    {
        SpringApplication.run(DeptProviderHystrix8001_App.class, args);
    }
}
